<!DOCTYPE html>
<html lang="en">
<head>
    <{include file="user/header.html"}>
    <title>学员中心-德安信会计在线教育平台</title>
</head>
<body>
    <div class="wrap">
        <!--star left-->
        <div class="column">
            <{include file="user/left_menu.html"}>
        </div>
        <div id="ContMianBox">
            <!--star子栏目-->
            <div class="sub-colum">
                <div class="tit">我的分销</div>
                <ul>
                    <li ><a href="/user/fenxiao">我的下级同学</a></li>
                    <li class="curr"><a href="/user/fenxiao/order">我的分销佣金</a></li>
                    <li><a href="/user/fenxiao/user_share">我的分享记录</a></li>
                </ul>
            </div>
            <!--end子栏目-->
            <!--end left-->
            <div class="container narrow">
                <!--star conter-->
                <div class="cetContent">
                    <div class="tit p-lr20">
                        <span class="curr">我的分销佣金</span>
                    </div>
                    <!--star内容区域-->
                    <div class="mainScroll">
    <div class="mainContainer line-all">
        <!--star tabMainCont-->
        <div class="tabMainCont">
            <!--star我的资产-->
            <div class="tabItem">
                <style>
                .ui-overview > ul > li{ text-align:left; height:inherit;}
                .ui-overview > ul > li .layui-icon{ font-size:26px; vertical-align:middle; margin-right:5px;}
                </style>
                <!--star-->
                <div class="ui-overview m-b15 fs14">
                    <ul class="p-tb20 LH25">
                        <li>
                            <div style="padding-left:40px">
                            <div class="p-b10">余额</div>
                            <div><i class="layui-icon c-ff6600">&yen;</i><span class="c-ff6600 fs20"><{$user_account['balance']|default:0}></span> 元&nbsp;&nbsp;&nbsp;仅支持提现到微信钱包</div>
                            <!-- <div class="c-999999"><span>预期收入：￥12.00</span>&nbsp;&nbsp;<span>累计收入：￥12.00</span></div> -->
                            </div>
                        </li>
                        <li style="display: none;">
                            <div style="padding-left:40px">
                            <div class="p-b10"><i class="layui-icon">&#xe638;</i>微信账户</div>
                            <p>仅支持提现到微信钱包</p>
                            <!--<p>已绑定微信</p>
                             <p>银行账户：4000 8989 9883 343</p> -->
                            </div>
                        </li>
                    </ul>
                </div>
                <!--end-->

                <!--star-->
                <div class="layui-tab">
                    <ul class="layui-tab-title">
                        <li class="layui-this">佣金明细</li>
                        <!-- <li>交易记录</li> -->
                    </ul>
                    <div class="layui-tab-content">
                        <style>
                        .layui-tab-content{ padding:10px 0px;}
                        </style>
                        <div class="">
                            <table class="layui-table" lay-skin="line">
                                <colgroup>
                                    <col width="150">
                                    <col width="200">
                                    <col>
                                </colgroup>
                                <thead>
                                    <tr>
                                        <th>日期</th>
                                        <th>订单号</th>
                                        <th>金额</th>
                                        <th>类型</th>
                                        <th>状态</th>
                                    </tr>
                                </thead>
                                <tbody>
                                <{foreach from=$commission_list item=item}>
                                    <tr>
                                        <td> <{$item[ 'add_time']|date_format: '%Y-%m-%d'}></td>
                                        <td><{$item['order_num']}></td>
                                        <td><span class="c-ff6600"><{$item['commission']}></span></td>
                                        <td>
                                            <{if $item['level'] == 1}>
                                            一级分销
                                            <{elseif $item['level'] == 2}>
                                            二级分销
                                            <{elseif $item['level'] == 3}>
                                            三级分销
                                            <{/if}>
                                        </td>
                                        <td>
                                         <{if $item['status'] == 0}>
                                            未到账
                                            <{elseif $item['status'] == 1}>
                                            已到账

                                            <{/if}>
                                        </td>
                                    </tr>
                                <{/foreach}>

                                </tbody>
                            </table>
                        </div>
                        <div class="layui-tab-item">交易记录</div>
                    </div>
                </div>
                <!--end-->


            </div>
            <!--end我的资产-->
        </div>
        <!--end tabMainCont-->
        </div>

    </div>
                </div>
            </div>
            <!--end内容区域-->

        </div>


    </div>
</body>
</html>
